<%--
  Created by IntelliJ IDEA.
  User: 何玉锦
  Date: 2021/8/16
  Time: 13:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生信息</title>
</head>
<body>
<jsp:include page="../common/css_js.jsp"/>
<div class="container">
    <h3>添加学生信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/addStu" method="post">
        <div class="form_group">
            <label>学号</label>
            <input name="Stu_Key" id="Stu_Key" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>姓名</label>
            <input name="Stu_Name" id="Stu_Name" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>性别</label>
            <input name="Stu_Sex" id="Stu_Sex" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>入学日期</label>
            <input name="Stu_Enr" id="Stu_Enr" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>出生日期</label>
            <input name="Stu_Birth" id="Stu_Birth" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>学院</label>
            <input name="Stu_College" id="Stu_College" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>专业</label>
            <input name="Stu_Major" id="Stu_Major" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>政治面貌</label>
            <input name="Stu_Polit" id="Stu_Polit" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>家庭住址</label>
            <input name="Stu_Address" id="Stu_Address" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>联系方式</label>
            <input name="Stu_Tel" id="Stu_Tel" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>密码</label>
            <input name="password" id="password" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>权限</label>
            <input name="root" id="root" type="text" class="form-control">
        </div>
        <button class="btn btn-primary" type="submit">提交</button><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>
</div>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
